﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopUserCredit")]
    public class TopUserCredit : BaseObject
    {
        //begin
        public TopUserCredit()
        {}
        public TopUserCredit(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private long _Level;
        public long Level
        {
            get
            {
                return _Level;
            }
            set
            {
                SetPropertyValue("Level", ref _Level, value);
            }
        }
        private long _Score;
        public long Score
        {
            get
            {
                return _Score;
            }
            set
            {
                SetPropertyValue("Score", ref _Score, value);
            }
        }
        private long _TotalNum;
        public long TotalNum
        {
            get
            {
                return _TotalNum;
            }
            set
            {
                SetPropertyValue("TotalNum", ref _TotalNum, value);
            }
        }
        private long _GoodNum;
        public long GoodNum
        {
            get
            {
                return _GoodNum;
            }
            set
            {
                SetPropertyValue("GoodNum", ref _GoodNum, value);
            }
        }
        private TopUser _TopUser;
        public TopUser User
        {
            get
            {
                return _TopUser;
            }
            set
            {
                SetPropertyValue("TopUser", ref _TopUser, value);
            }
        }
        //end

    }
}
